package com.gzsxy.lesson01.udp.thread;

/**
 * 老师窗口
 */
public class TalkTeacher {

    public static void main(String[] args) {
        //老师发送给学生信息
        new Thread(new TalkSend(5555, "localhost", 8888)).start();
        //老师接收学生发来的信息
        new Thread(new TalkReceive(9999, "学生")).start();
    }
}
